Answer:

You can use DO and LOOP to make the two statements into a loop body.

A loop that repeats

A way to repeat two statements is in the following program:

' Counting up
LET COUNT = 0

DO
  PRINT COUNT
  LET COUNT = COUNT + 1
LOOP 

END

If you run this program, the output on the screen will go by so fast that all you see is a blur. But on a slow computer you would see:

0
1
2
3
4
5
6
7
8
9
... and so on ....

If you want to see something other than a blur, do this:

  1. Start the program running by hitting SHIFT-F5.
  2. Let it run for a short while.
  3. Hit PAUSE to pause the program (like pause on a video game.)
    • The PAUSE key is the same as the BREAK key.
  4. Hit ENTER to resume running.
  5. (Do steps 2-3-4 as often as you want.)
  6. Hit CONTROL-BREAK to stop the program.
    • You may have to hit ENTER, too.

If you now want the re-start the program from the beginning, hit SHIFT-F5. If you want to continue running the program from where it left off, hit F5 and continue with the above steps.

QUESTION 12:

If you let the program run for exactly one second after starting it, then pause the run, what is the largest number you will see on the screen? (Just take a guess.)